<%@page import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="./css/style.css">
    <style>
        input{
            height: 20px;
        }
    </style>
    <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script>
        function  creatXMLHttpRequest() {
            var XMLHttp
            if(window.XMLHttpRequest){
                XMLHttp = new XMLHttpRequest();
            }
            else{
                XMLHttp = new ActiveXObject("Microsoft.XMLHttp")
            }
            return XMLHttp;
        }

    </script>
</head>
<body>
<div id="m-Cart02">
    <div id="common-header">
        <div class="clearfix" id="headerTop">
            <div id="left">
                <select>
                    <option>USA</option>
                    <option>UK</option>
                    <option>CN</option>
                </select>
                <span><a href="#">DAILDY DEALS</a></span>
                <span><a href="#">DAILDY DEALS</a></span>
                <span><a href="#">DAILDY DEALS</a></span>
                <span><a href="#">DAILDY DEALS</a></span>
            </div>
            <div id="right">
                <c:choose>
                    <c:when test="${empty sessionScope.user}">
                        <span id="user"><a href="<c:url value="/jsps/user/login.jsp" />"><i class="fa fa-user"></i>登录</a></span>
                        <span id="shopcar"><a href="<c:url value='/regesit.jsp'/>"><i class="fa fa-shopping-cart"></i>注册</a></span>
                    </c:when>
                    <c:otherwise>
                        <span id="user"><i class="fa fa-user"></i>${user.getUsername()}</span>
                        <span id="shopcar"><a href="<c:url value='/UserServlet?method=quit'/>"><i class="fa fa-shopping-cart"></i>退出</a></span>
                    </c:otherwise>
                </c:choose>
            </div>
        </div>
        <div id="headerMain" class="clearfix">
            <img src="http://ozz8m4qhr.bkt.clouddn.com/loge.png" width="59" height="24" id="loge">
            <ul id="nav" class="clearfix">
                <li class="navLi">
                    <div class="navDiv">
                        <a href="<c:url value='/ProductServlet?method=findByCid&cid=1' />">
                            WOMEN<i class="fa fa-angle-down"></i>
                        </a>
                    </div>
                </li>
                <li class="navLi">
                    <div class="navDiv">
                        <a href="<c:url value='/ProductServlet?method=findByCid&cid=2'/>">
                            MAN<i class="fa fa-angle-down"></i>
                        </a>
                    </div>
                </li>
                <li class="navLi">
                    <div class="navDiv">
                        <a  href="<c:url value='/ProductServlet?method=findByCid&cid=3'/>">
                            KIDS<i class="fa fa-angle-down"></i>
                        </a>
                    </div>
                </li>
                <li class="navLi">
                    <div class="navDiv">
                        <a>
                            ACCESSORIES<i class="fa fa-angle-down"></i>
                        </a>
                    </div>
                </li>
            </ul>
            <div id="search">
                <span id="searchSpan1">LIVE FILLING-ROOM</span>
                <span id="searchSpan2"><span>ECO</span>FRIENDLY</span>
                <i class="fa fa-search"></i>
            </div>
        </div>
    </div>
    <header>
        <ul class="head_nav clearfix">
            <li><a href="#">100% STUDENTDISCOUNT ></a></li>
            <li><a href="#">$9.95 - UNLIMITEDNEXT_DAY DELIVERY FORIYR ></a></li>
            <li><a href="#">FREE DELIVERY WORLDWIDE ></a></li>
        </ul>
    </header>

    <div style="width: 1440px;height: 400px;border: 1px solid white">
            <h2 style="color: green;margin-top: 100px;margin-left: 400px;">
                恭喜，注册成功，请前往邮箱激活
            </h2>
    </div>

</div>
<script src="js/lib/template-web.js"></script>
<script src="js/lib/jquery.min.js"></script>
<script src="js/module/Cart02.js"></script>
<script src="js/lib/velocity.min.js"></script>
</body>
</html>